package com.beone.admin.entity;


import com.baomidou.mybatisplus.annotations.*;
import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;

import com.base.common.BaseModel;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;


/**
 * @Title 任务反馈表 实体类
 * @Author 秦波
 * @Version 1.0 on 2019-05-18
 * @Copyright 贝旺科权
 */
@TableName("t_task")
public class Task extends BaseModel {

    private static final long serialVersionUID = 1L;

	@TableId(value="ID", type= IdType.AUTO)
	private Integer id;
    /**
     * 任务类型
     */
	@TableField("TYPE")
	private Integer type;
    /**
     * 任务描述
     */
	@TableField("DESCR")
	private String descr;
    /**
     * 任务时间
     */
	@TableField("TASK_TIME")
	private Date taskTime;
    /**
     * 完成时间
     */
	@TableField("FINISH_TIME")
	private Date finishTime;
    /**
     * 任务处理结果
     */
	@TableField("RESULT")
	private String result;
    /**
     * 地址
     */
	@TableField("ADDRESS")
	private String address;
    /**
     * 纬度
     */
	@TableField("LAT")
	private BigDecimal lat;
    /**
     * 经度
     */
	@TableField("LNG")
	private BigDecimal lng;
    /**
     * 创建用户
     */
	@TableField("CREATE_USER_ID")
	private Integer createUserId;
    /**
     * 删除标识
     */
    @TableLogic
	@TableField("DELETE_TAG")
	private Integer deleteTag;
    /**
     * 创建时间
     */
	@TableField("CREATE_TIME")
	private Date createTime;
    /**
     * 修改时间
     */
	@TableField("UPDATE_TIME")
	private Date updateTime;
	/**
     * 完成标识（1为完成）
     */
	@TableField("FINISH_TAG")
	private Integer finishTag;


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getDescr() {
		return descr;
	}

	public void setDescr(String descr) {
		this.descr = descr;
	}

	public Date getTaskTime() {
		return taskTime;
	}

	public void setTaskTime(Date taskTime) {
		this.taskTime = taskTime;
	}

	public Date getFinishTime() {
		return finishTime;
	}

	public void setFinishTime(Date finishTime) {
		this.finishTime = finishTime;
	}

	public String getResult() {
		return result;
	}

	public void setResult(String result) {
		this.result = result;
	}

	public String getAddress() {
		return address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public BigDecimal getLat() {
		return lat;
	}

	public void setLat(BigDecimal lat) {
		this.lat = lat;
	}

	public BigDecimal getLng() {
		return lng;
	}

	public void setLng(BigDecimal lng) {
		this.lng = lng;
	}

	public Integer getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Integer createUserId) {
		this.createUserId = createUserId;
	}

	public Integer getDeleteTag() {
		return deleteTag;
	}

	public void setDeleteTag(Integer deleteTag) {
		this.deleteTag = deleteTag;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getFinishTag() {
		return finishTag;
	}

	public void setFinishTag(Integer finishTag) {
		this.finishTag = finishTag;
	}

	@Override
	public String toString() {
		return "Task{" +
			", id=" + id +
			", type=" + type +
			", descr=" + descr +
			", taskTime=" + taskTime +
			", finishTime=" + finishTime +
			", result=" + result +
			", address=" + address +
			", lat=" + lat +
			", lng=" + lng +
			", createUserId=" + createUserId +
			", deleteTag=" + deleteTag +
			", createTime=" + createTime +
			", updateTime=" + updateTime +
			"}";
	}
}
